WPNTS\Inc\SlackAttachment A

Total Complexity 51
Dependencies 2
Dependents 17
Total lines 639
Lines of code 277
Logical lines of code 129
Comment lines 269
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
process_message_template()
S
52 7 23
log_activity_to_db()
S
52 5 23
send_templated_notification()
S
52 4 25
send_notification_and_log()
S
59 4 13
get_user_ip()
S
61 4 12
addAttachment()
S
49 2 36
send_slack_notification()
S
57 3 17
getSiteURLAddOption()
S
61 3 11
get_available_placeholders()
S
55 2 18
schedule_cron_event()
S
69 3 6
format_message_for_platform()
S
67 3 8
get_cron_recurrence()
S
60 2 13
get_current_user_info()
S
62 2 11
addPluginUpdateNotification()
S
59 1 15
update_json_option()
S
67 2 7
sendEmailNotification()
S
60 1 12
convert_html_to_slack_format()
S
61 1 12
getMessage()
S
74 1 5
convert_slack_to_html_format()
S
63 1 10